﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public partial class Task
    {
        public int Duration
        {
            get { return (int)Math.Floor((EndDate - StartDate).TotalMinutes); }
        }
    }
}
